<div class="isi">

         <?php  echo anchor("admin_stock/tambah","Add Stock Name","class='button' style='color:#f8f8f8'") ?>
        
        <table id="laporan" class="display"  >
            <thead>
                <tr>
                    <th width="15%">Symbol</th>
                    <th>Company Name</th>
                    <th>Industries</th>
                    <th width="5%">Tindakan</th>
                </tr>            
            </thead>
            <tbody>
                <?php
                $img_delete=$this->lib_button->delete_icon();
                $img_update=$this->lib_button->edit_icon();                
                    foreach ($list as $data){
                        $link_hapus=  anchor('admin_stock/delete/'.$data->id, $img_delete,array('onClick'=>'return confirm(\'Apa anda yakin akan menghapus data ini ?\');'));
                        $link_edit=anchor('admin_stock/edit/'.$data->id, $img_update);                        
                        echo "<tr>";
                            echo "<td> $data->symbol </td>";
                            echo "<td> $data->company </td>";
                            echo "<td> $data->industries </td>";
                            echo "<td> $link_edit  $link_hapus </td>";
                        echo "</tr>";
                    }
                ?>
            </tbody>

        </table>   

    </div>
    <div class="clear"></div>
</div>